package com.novel.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.novel.base.entity.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 小说表
 *
 * @author 樊温军
 * @date Fri May 09 15:15:32 CST 2025
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "小说表")
public class NfNovel extends BaseDTO {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Long id;
    /**
     * 小说名
     */
    @ApiModelProperty(value = "小说名")
    private String name;
    /**
     * 作者
     */
    @ApiModelProperty(value = "作者")
    private String author;
    /**
     * 首发地址
     */
    @ApiModelProperty(value = "首发地址")
    private String comefromUrl;
    /**
     * 入库日期
     */
    @ApiModelProperty(value = "入库日期")
    private LocalDateTime regTime;
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private String status;
}
